Interrupt remapping to PIRQs in HVM guests
authorKeir Fraser <keir@xen.org>
Fri, 19 Nov 2010 13:43:24 +0000 (13:43 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 19 Nov 2010 13:43:24 +0000 (13:43 +0000)
commit0b469cd6870899a52c41be1cb3c982976531d59d
treee80341800e6234bb7c2e81b8ce38dcfbc2e2b949
parent26b1575bf3d4abd407724c0cc6a2365fd78e0b6d
Interrupt remapping to PIRQs in HVM guests

This patch allows HVM guests to remap interrupts and MSIs into pirqs;
once the mapping is in place the guest will receive the interrupt (or
the MSI) as an event.  The interrupt to be remapped can either be an
interrupt of an emulated device or an interrupt of a passthrough
device and we keep track of that.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/x86/domain.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/irq.c
xen/arch/x86/irq.c
xen/arch/x86/physdev.c
xen/common/event_channel.c
xen/common/kernel.c
xen/drivers/passthrough/io.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/irq.h
xen/include/public/features.h